# accounts/urls.py
from django.urls import path
from . import views

urlpatterns = [
    path('register/', views.register, name='register'),
    path('login/', views.login, name='login'),
    path('platform/<int:user_id>/', views.platform, name='platform'),  # 衣库视图
    path('ai/', views.ai_view, name='ai_view'),  # 新增 AI 页面路径
    path('sk/', views.sk_view, name='sk_view'),
    path('admin/', views.admin_page, name='admin_page'),
    path('logout/', views.logout_view, name='logout'),
    path('delete_clothing/<int:clothing_id>/', views.delete_clothing, name='delete_clothing'),
    path('delete_face/<int:face_id>/', views.delete_face, name='delete_face'),
    path('delete_pose/<int:pose_id>/', views.delete_pose, name='delete_pose'),
]
